package com.huanqiu.mylib.common;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;

public class Data {
    private byte[] data;

    public Data() {

    }

    public Data(byte[] data) {
        this.data = data;
    }

    @JsonProperty("data")
    @SerializedName("data")
    public void setBytes(byte[] data) {
        this.data = data;
    }

    @JsonProperty("data")
    @SerializedName("data")
    public byte[] getBytes() {
        return data;
    }
}
